<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Workflowtest extends CI_Controller {

	public function index()
	{
		$this->load->model('workflowmodel','workflow');
		
		$abc="apple";
		$this->workflow->fetchhtmlfromservice($abc);
	}
	
	public function fetchhtmlfromservice($serviceName){

		echo "Testing..";
		switch ($serviceName) {
			case "login":
				echo "i is apple";
				break;
			case "bar":
				echo "i is bar";
				break;
			case "cake":
				echo "i is cake";
				break;
		}
		
	}
	
}